package student.aistar.model.entity;


import java.sql.Timestamp;

public class Productspecification {

  private Integer productSpecId;
  private Integer productSpecNum;
  private Integer productId;
  private String spec;
  private Integer stock;
  private Integer salesValues;
  private Double price;
  private Integer status;
  private java.sql.Timestamp createTime;


  public Productspecification() {
  }

  public Productspecification(Integer productSpecId, Integer productSpecNum, Integer productId, String spec, Integer stock, Integer salesValues, Double price, Integer status, Timestamp createTime) {
    this.productSpecId = productSpecId;
    this.productSpecNum = productSpecNum;
    this.productId = productId;
    this.spec = spec;
    this.stock = stock;
    this.salesValues = salesValues;
    this.price = price;
    this.status = status;
    this.createTime = createTime;
  }

  public Integer getProductSpecId() {
    return productSpecId;
  }

  public void setProductSpecId(Integer productSpecId) {
    this.productSpecId = productSpecId;
  }

  public Integer getProductSpecNum() {
    return productSpecNum;
  }

  public void setProductSpecNum(Integer productSpecNum) {
    this.productSpecNum = productSpecNum;
  }

  public Integer getProductId() {
    return productId;
  }

  public void setProductId(Integer productId) {
    this.productId = productId;
  }

  public String getSpec() {
    return spec;
  }

  public void setSpec(String spec) {
    this.spec = spec;
  }

  public Integer getStock() {
    return stock;
  }

  public void setStock(Integer stock) {
    this.stock = stock;
  }

  public Integer getSalesValues() {
    return salesValues;
  }

  public void setSalesValues(Integer salesValues) {
    this.salesValues = salesValues;
  }

  public Double getPrice() {
    return price;
  }

  public void setPrice(Double price) {
    this.price = price;
  }

  public Integer getStatus() {
    return status;
  }

  public void setStatus(Integer status) {
    this.status = status;
  }

  public Timestamp getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Timestamp createTime) {
    this.createTime = createTime;
  }

  @Override
  public String toString() {
    final StringBuilder sb = new StringBuilder("Productspecification{");
    sb.append("productSpecId=").append(productSpecId);
    sb.append(", productSpecNum=").append(productSpecNum);
    sb.append(", productId=").append(productId);
    sb.append(", spec='").append(spec).append('\'');
    sb.append(", stock=").append(stock);
    sb.append(", salesValues=").append(salesValues);
    sb.append(", price=").append(price);
    sb.append(", status=").append(status);
    sb.append(", createTime=").append(createTime);
    sb.append('}');
    return sb.toString();
  }
}
